

package com.maoshi.shop.distribution.comment.model;

import com.maoshi.shop.distribution.comment.vo.DistributionAuditingConditionsVO;
import com.maoshi.shop.distribution.comment.vo.DistributionAuditingInfoVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

@Data
@TableName( "tz_distribution_auditing_set")
public class DistributionAuditingSet implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 申请审核条件表
     */
    @TableId
    private Long auditingSetId;

    /**
     * 商店名称
     */
    private Long shopId;

    /**
     * 申请条件
     */
    private String auditingConditionsJson;

    /**
     * 填写信息
     */
    private String auditingInfoJson;

    /**
     * 自动审核(0:开 1:关)
     */
    private Integer autoCheck;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 修改人
     */
    private Long modifier;

    /**
     * 申请条件
     */
    @TableField(exist = false)
    private DistributionAuditingConditionsVO auditingConditions;

    /**
     * 申请所需填写资料
     */
    @TableField(exist = false)
    private DistributionAuditingInfoVO auditingInfo;
}
